//
//  MBProgressHUD+MJ.h
//  ImageAndVideoAndRecord
//
//  Created by 李丹阳 on 2017/1/4.
//  Copyright © 2017年 李丹阳. All rights reserved.
//

#import "MBProgressHUD.h"

extern NSString * const HUDMsgLoading;
extern NSString * const HUDMsgLoadError;
extern NSString * const HUDMsgLoadSuccessful;
extern NSString * const HUDMsgNoMoreData;
extern NSTimeInterval   HUDHideTimeInterval;

@interface MBProgressHUD (MJ)


+ (void)showSuccess:(NSString *)success toView:(UIView *)view;
+ (void)showError:(NSString *)error toView:(UIView *)view;
+ (void)showWarning:(NSString *)warning toView:(UIView *)view;

+ (void)showMessage:(NSString *)message toView:(UIView *)view;


+ (void)showSuccess:(NSString *)success;
+ (void)showError:(NSString *)error;
+ (void)showWarning:(NSString *)warning;

+ (void)showMessage:(NSString *)message;

+ (void)showProcessHud:(NSString *)msg toView:(UIView *)view;

+ (void)hideHUDForView:(UIView *)view;
+ (void)hideHUD;

@end
